package com.bear.cmcc.NetTestHTTP.component;

import com.bear.cmcc.NetTestHTTP.util.MyCommonUtil;

/**
 * 
 * @author guanyh
 * nettestservice保存log的bean
 */
public class NetTestLogBean {
	private String logFileName;//log文件名
	private String logTime;//log生成时间
	private String device;//设备标识
	private String model;//设备型号
	private String netType;//网络类型
	private String netName;//网络名称
	private int mcc;//移动国家号码
	private int mnc;//移动网号
	private int lac;//地区区域码
	private int ci;//基站区域码
	private double oneLogAveragespeed;//保存一次log的平均速度
	private String replyCode;//返回码
	private String oneLogfileSize="0";//一次log的文件大小
	private String oneLogDownloadTime="0";//一次log的下载时间
	private int netStrong;//信号强度
	private String wifiStrong;//wifi信号强度
	private String wifiBSSID;//wifi的bssid
	private String ipAddress;//当前网络使用的IP（未收集）---
	private String longitude;//经度（未收集）---
	private String latitude;//纬度（未收集）---
	private String msisdn;//msisdn
	private String imsi;//imsi
	private String imei;//imei
	
	private String serviceName;
	
    /** 经度 */
    private String lon;

    /** 纬度 */
    private String lat;
	
    /** AP物理地址 */
    private String APMAC="";

    /** 目前所在城市(根据经纬度获取) */
    private String city="";

   
    private String costTime="0";
    
    private double maxSpeed=0;
    
    private double minSpeed=0;
	
	
	public void setlogFileName(String _str)
	{
		this.logFileName = _str;
	}
	public String getlogFileName()
	{
		return logFileName;
	}
	
	public void setlogTime(String _str)
	{
		this.logTime = _str;
	}
	public String getlogTime()
	{
		return logTime;
	}
	
	public void setDevice(String _str)
	{
		this.device = _str;
	}
	public String getDevice()
	{
		return device;
	}
	
	public void setModel(String _str)
	{
		this.model = _str;
	}
	public String getModel()
	{
		return model;
	}
	
	public void setNetType(String _str)
	{
		this.netType = _str;
	}
	public String getNetType()
	{
		return netType;
	}
	
	public void setNetName(String _str)
	{
		this.netName = _str;
	}
	public String getNetName()
	{
		return netName;
	}
	
	public void setMcc(int _str)
	{
		this.mcc = _str;
	}
	public int getMcc()
	{
		return mcc;
	}
	
	public void setMnc(int _str)
	{
		this.mnc = _str;
	}
	public int getMnc()
	{
		return mnc;
	}
	
	public void setLac(int _str)
	{
		this.lac = _str;
	}
	public int getLac()
	{
		return lac;
	}
	
	public void setCi(int _str)
	{
		this.ci = _str;
	}
	public int getCi()
	{
		return ci;
	}
	
	public void setOneLogAveragespeed(double _str)
	{
		this.oneLogAveragespeed = _str;
	}
	public double getOneLogAveragespeed()
	{
		try
		{
			return Double.valueOf(MyCommonUtil.getFormatString(oneLogAveragespeed));
		}catch(Exception e)
		{
			return 0;
		}
	}
	
	public void setReplyCode(String _str)
	{
		this.replyCode = _str;
	}
	public String getReplyCode()
	{
		return replyCode;
	}
	
	public void setOneLogfileSize(String _str)
	{
		this.oneLogfileSize = _str;
	}
	public String getOneLogfileSize()
	{
		return oneLogfileSize;
	}
	
	public void setOneLogDownloadTime(String _str)
	{
		this.oneLogDownloadTime = _str;
	}
	public String getOneLogDownloadTime()
	{
		return oneLogDownloadTime;
	}
	
	public void setNetStrong(int _str)
	{
		this.netStrong = _str;
	}
	public int getNetStrong()
	{
		return netStrong;
	}
	
	public void setWifiStrong(String _str)
	{
		this.wifiStrong = _str;
	}
	public String getWifiStrong()
	{
		return wifiStrong;
	}
	
	public void setWifiBSSID(String _str)
	{
		this.wifiBSSID = _str;
	}
	public String getWifiBSSID()
	{
		return wifiBSSID;
	}
	
	public void setIpAddress(String _str)
	{
		this.ipAddress = _str;
	}
	public String getIpAddress()
	{
		return ipAddress;
	}
	
	public void setLongitude(String _str)
	{
		this.longitude = _str;
	}
	public String getLongitude()
	{
		return longitude;
	}
	
	public void setLatitude(String _str)
	{
		this.latitude = _str;
	}
	public String getLatitude()
	{
		return latitude;
	}
	
	public void setMsisdn(String _str)
	{
		this.msisdn = _str;
	}
	public String getMsisdn()
	{
		return msisdn;
	}
	
	public void setImsi(String _str)
	{
		this.imsi = _str;
	}
	public String getImsi()
	{
		return imsi;
	}
	
	public void setImei(String _str)
	{
		this.imei = _str;
	}
	public String getImei()
	{
		return imei;
	}
    public String getAPMAC() {
        return APMAC;
    }
    public void setAPMAC(String aPMAC) {
        APMAC = aPMAC;
    }
    public String getCity() {
        return city;
    }
    public void setCity(String city) {
        this.city = city;
    }
    public String getCostTime() {
        return costTime;
    }
    public void setCostTime(String costTime) {
        this.costTime = costTime;
    }
    public double getMaxSpeed() {
        return maxSpeed;
    }
    public void setMaxSpeed(double maxSpeed) {
        this.maxSpeed = maxSpeed;
    }
    public double getMinSpeed() {
        return minSpeed;
    }
    public void setMinSpeed(double minSpeed) {
        this.minSpeed = minSpeed;
    }
    public String getServiceName() {
        return serviceName;
    }
    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }
    public String getLon() {
        return lon;
    }
    public void setLon(String lon) {
        this.lon = lon;
    }
    public String getLat() {
        return lat;
    }
    public void setLat(String lat) {
        this.lat = lat;
    }
	
	
	
	
	
}
